import {Component} from 'react';
import withMouse from './02_高阶组件';
class One extends Component{

    render(){
        console.log(this.props)
        let {x,y} = this.props
        return(
            <div style={{width:'200px',height:"200px",background:"red",color:"#fff"}}>
                one组件--{x}-{y}
            </div>
        )
    }
  
}
export default withMouse(One);